package com.heima.comment.entity;

import lombok.Data;
import org.bson.types.ObjectId;
import org.springframework.data.mongodb.core.mapping.Document;


@Data
@Document("ap_comment_like")
public class ApCommentLike {

    private ObjectId id;

    private Integer authorId; // 点赞人id

    private String commentId; // 评论id

    private Integer operation;// 操作类型 0为点赞 1.未点赞
}
